package cn.webrx.mapper;

import cn.webrx.entity.Book;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>功能描述: </p>
 *
 * @author webrx
 * @version 1.0
 * @date 2020-05-23 17:51
 */
@Repository
public interface BookMapper {

    @Select("select * from book")
    public List<Book> queryAll();
}
